package com.sky.mapper;

import com.sky.entity.OrderDetail;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderDetailMapper {

    List<OrderDetail> getOrderDetailByOrderId(List<Long> ids);

    void updateOrderDetail(OrderDetail orderDetail);

    void insertOrderDetail(OrderDetail orderDetail);

    void deleteOrderByOrderId(OrderDetail orderDetail);

    // 批量插入订单详情
    void insertBatch(List<OrderDetail> orderDetailList);

}
